for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
// assumes asmCrypto is made available
var asmCrypto = window.asmCrypto;
var pbkdf2Sha512 = function(pw, salt, iterations, keySizeBytes) {
return new Buffer(new asmCrypto.PBKDF2_HMAC_SHA512.bytes(pw, salt, iterations, keySizeBytes).buffer);
Buffer
/** global: Buffer */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
};
module.exports = {
digest: pbkdf2Sha512
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.